//
//  QDAddCaseCell3.m
//  QuickDoctor
//
//  Created by ycw on 2016/12/25.
//  Copyright © 2016年 Eric. All rights reserved.
//

#import "QDAddCaseCell3.h"

@interface QDAddCaseCell3()<UIImagePickerControllerDelegate>

@end

@implementation QDAddCaseCell3

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        
        [self setUpUI];
        
    }
    
    return self;
    
}

#pragma mark
#pragma mark - 设置cell
- (void) setUpUI
{
    
    UIButton *imageButton = [[UIButton alloc] init];
    
    [imageButton setImage:[UIImage imageNamed:@"compose_pic_add_highlighted"] forState:UIControlStateNormal];
    
    [self.contentView addSubview:imageButton];
    
    self.imageButton = imageButton;
    
    [imageButton mas_makeConstraints:^(MASConstraintMaker *make) {
        
        make.height.width.mas_equalTo(80);
        
        make.top.equalTo(self.contentView).mas_offset(40);
        
        make.leading.equalTo(self.contentView).mas_offset(20);
        
        make.bottom.equalTo(self.contentView).mas_offset(-20);
        
    }];
    
    UILabel *label = [[UILabel alloc] init];
    
    label.text = @"病例照片:";
    
    [self.contentView addSubview:label];
    
    [label mas_makeConstraints:^(MASConstraintMaker *make) {
        
        make.top.leading.equalTo(self.contentView).mas_offset(10);
        
        make.trailing.equalTo(self.contentView).mas_offset(-10);
        
    }];
    
    
}






@end
